#ifndef TYPEINFO_H
#define TYPEINFO_H

/**
 * http://www.gamedev.net/page/resources/_/technical/game-programming/effective-event-handling-in-c-r2459
 */

#include "LibraryCoreExport.h"
#include <typeinfo>

namespace CasaEngine
{
	/**
	 *	
	 */
	class LIBRARY_CORE_EXPORT TypeInfo
	{
	public:
		explicit TypeInfo(const std::type_info& info);
		
		bool operator < (const TypeInfo& rhs) const;

	private:
		TypeInfo & operator=( const TypeInfo & );
		const std::type_info& _typeInfo;
	};

} // namespace CasaEngine

#endif // TYPEINFO_H
